/**
 * 登录相关
 */
//请求工具类导进来 解耦
import request from '../utils/request'

/**
 * /login/namePassLogin
 * 用户登录
 */
export function namePassLogin(a,b){
    let url = "/login/namePassLogin";
    const data = {
        username:a,//用户名
        password:b//密码
    }
    return request(url,data,"POST");
}